<?php
/**
 * 文章增加保存功能
 *
 *
 **/
//获取文章数据
$articleTitle=$_POST['article_title'];
$categoryId= $_POST['category_id'];
$intro= $_POST['intro'];
$articleContent=$_POST['article_content'];

session_start();
if(empty($_SESSION['admin_email'])){
    echo "尚未登录，请先登录。<a href='index.php?c=login'>登录页面</a>";
    exit();
}

include_once APP_PATH ."/model/article_add_save.php";
include_once APP_PATH ."/view/article_add_save.php";